Hi

I want to reduce the amount of request for polymer components. So , I want 
to vulcanize the build-in polymer components.

My elements.html is
<link rel="import" 
href="../bower_components/paper-button/paper-button.html">
<link rel="import" 
href="../bower_components/paper-radio-button/paper-radio-button.html">
<link rel="import" 
href="../bower_components/paper-radio-group/paper-radio-group.html">
<link rel="import" 
href="../bower_components/paper-shadow/paper-shadow.html">
<link rel="import" 
href="../bower_components/paper-dialog/paper-dialog-transition.html">
<link rel="import" 
href="../bower_components/paper-dialog/paper-dialog.html">
<link rel="import" 
href="../bower_components/paper-checkbox/paper-checkbox.html">
<link rel="import" 
href="../bower_components/paper-ripple/paper-ripple.html">

and my index.html

<!-- INITIALIZE POLYMER PLATFORM -->

<script src="bower_components/platform/platform.js"></script>


<!-- IMPORT POLYMER ELEMENTS -->

        <link rel="import" href="elements/elements.vulcanized.html">



The vulcanization works but the browser is not able to read the file 
properly.

When I use te vulcanized file I got this error.

Uncaught HierarchyRequestError: Failed to execute 'appendChild' on 'Node': 
Nodes of type 'HTML' may not be inserted inside nodes of type '#document'. 
polymer.js:3(anonymous function) polymer.js:3(anonymous function) 
polymer.js:3(anonymous function) polymer.js:3
Uncaught TypeError: object is not a function 
paper-focusable.html:1(anonymous function) paper-focusable.html:1
Uncaught TypeError: object is not a function 
paper-button-base.html:1(anonymous function) paper-button-base.html:1
Uncaught TypeError: object is not a function paper-ripple.html:1(anonymous 
function) paper-ripple.html:1(anonymous function) paper-ripple.html:1
Uncaught TypeError: Cannot read property 'loadStyles' of undefined 
polymer.js:4o.loadStyles polymer.js:4d.loadResources polymer.js:4d.init 
polymer.js:4d.createdCallback polymer.js:4
Uncaught TypeError: object is not a function 
c-paper-icon-button.html:61(anonymous function) c-paper-icon-button.html:61
Uncaught TypeError: Cannot read property 'loadStyles' of undefined 
polymer.js:4o.loadStyles polymer.js:4d.loadResources polymer.js:4d.init 
polymer.js:4d.createdCallback polymer.js:4
Uncaught TypeError: object is not a function c-paper-item.html:70(anonymous 
function)

Im using polymer 0.4.2

Someone knows want Im doing wrong ?

Best
Ignacio

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/60842bb2-8cc5-4993-8845-bfd45dc13230%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to