Re: [polymer-dev] Polymer not Working in Google chrome(version 36.0.1985.143 m)

67 views
Skip to first unread message

Steve Orvell

unread,
Aug 16, 2014, 7:45:00 PM8/16/14
to Gopesh Gopinath, polym...@googlegroups.com
To create an element without script, add a `noscript` attribute to your `<polymer-element>`


On Sat, Aug 16, 2014 at 9:36 AM, Gopesh Gopinath <medayi...@gmail.com> wrote:
Hi all,
I am new to polymer,just created a simple polymer element.But it is not working in google chrome,works fine in firefox.

<!DOCTYPE html>
<html lang="en">
   
<head>
     
<meta charset="UTF-8">
     
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
     
<script src="bower_components/platform/platform.js"></script>
     
<link rel="import" href="bower_components/polymer/polymer.html">
     
<title>My card</title>
   
</head>
   
<body>
     
<polymer-element name="my-card">
         
<template>
           
<h1>My Card</h1>
         
</template>
     
</polymer-element>
     
<my-card></my-card>
   
</body>
</html>
Any help???

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 polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/1b0822d0-5f2d-4124-b6cc-72c520400d5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Gopesh G

unread,
Aug 17, 2014, 2:29:49 AM8/17/14
to Steve Orvell, polym...@googlegroups.com
Hi all,
Thanks for the  quick reply..now its working fine by adding noscript..
Reply all
Reply to author
Forward
0 new messages