Hi, thanks.
I am using Pyramid 1.5 and Polymer is the #master version.
What versions did you use?
If I comment the line with script platform.js everything works fine.
Domingo, 18 de Maio de 2014 17:47:00 UTC+1, Blaise Laflamme escreveu:
>
> Hi Rui,
>
> I don't know much about Pylomer but I just created a new project, added
> platform via bower and included in head as the first script tag (as
> recommended). The page loads fine as expected.
>
> <script
> src="${request.static_url('poly:static/bower_components/platform/platform.js')}"></script>
>
> OTOH be sure you're connected to the internet when looking at your running
> project since the scaffold loads external dependancies from CDN. If you
> want to work unconnected from the internet, be sure to install external
> dependancies locally.
>
>
> On Sunday, May 18, 2014 11:16:47 AM UTC-4, Rui wrote:
>>
>> has anyone tried to used Polymer (http://www.polymer-project.org) with
>> Pyramid Python Framework?
>> As soon I included the platform.js in the default pyramid template no
>> content in the page is rendered.
>>
>> In the default template the only change I have done was to include the
>> platform.js:
>>
>> <title>Starter Template for The Pyramid Web Framework</title>
>> <script
>> src="${request.static_url('my_project:static/polymer/bower_components/platform/platform.js')}"/>
>>
>> After this the page is no longer in Red and no content is shown.
>>
>>
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.