I tried with the 0.2.4 version of Polymer but got the same results.
Then I tried another approach, I moved these two lines:
    <script 
src="//oss.maxcdn.com/libs/jquery/1.10.2/jquery.min.js"></script>
    <script 
src="//oss.maxcdn.com/libs/twitter-bootstrap/3.0.3/js/bootstrap.min.js"></script>
to the <head>

after I did this it worked, even with the master branch of Polymer (// 
@version: 0.2.4-15e4e51)




On Sunday, May 18, 2014 8:24:34 PM UTC+1, Rui wrote:
>
> thanks, I think the problem should be with polymer since I was using the 
> master branch. I will try now with the stable version.
> will let you guys know.
>
> Domingo, 18 de Maio de 2014 19:35:33 UTC+1, Blaise Laflamme escreveu:
>>
>> Hi,
>>
>> pyramid 1.5 (latest from easy_install or pip)
>> $ easy_install pyramid
>>
>> Polymer Platform 0.2.4 (latest from bower)
>> $ bower install platform
>>
>>
>> On Sunday, May 18, 2014 1:35:55 PM UTC-4, Rui wrote:
>>>
>>> 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.

Reply via email to