[polymer-dev] Redefining a Polmer element at runtime

2015-07-20 Thread phil cleaver
Hi,

I'm writing an IDE for web components and I'm trying to find a way of 
changing the definition of a web component at runtime.  If I try to 
reregister the element I simply get a message that a component with this 
name already exists.

Is there a way to remove a web component definttion from the document so I 
can reload it?

Regards

Phil

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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/c51868db-5606-4ae7-ab5e-9bbb61a52f44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[polymer-dev] Obfuscating Polymer

2015-06-25 Thread phil cleaver
Hi,

Has anyone had any luck finding something that can do a good job of 
obfuscating Polymer Elements.  I've tried vulcanize --strip, which is very 
easily reversed by many online services like jsbeautifier.

I also tried a few other online obfuscators which just broke the code.

Any info greatly appreciated

Phil

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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/14193d5a-62cf-4b64-aa9d-8d82cf3f7072%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] App Globals and Polymer 1

2015-06-08 Thread phil cleaver
I haven't tested it yet, but this looks exactly like what I was after, 
thanks AJ!

On Tuesday, 9 June 2015 02:26:27 UTC+10, AJ Ortega wrote:

 I'm unsure of what your use case looks like, but does 
 https://github.com/polymerelements/iron-meta fulfill any of your needs?

 On Mon, Jun 8, 2015 at 2:53 AM, phil cleaver giggles...@gmail.com 
 javascript: wrote:

 Hi,

 I'm just starting to migrate my app to v 1.0, but have come stuck on 
 getting app globals to work.

 I was using PVC-Globals, but I cannot find an updated version for Polymer 
 1.0.


 I tried to make one myself and it is located at 


 https://github.com/cleaverpj/pvc-globals/blob/cleaverpj-polymer1/pvc-globals.html

 There is no error messages, but when I try to use it it values don't seem 
 to get transferred between instances.

 can anyone see what I'm doing wrong or does anyone know of a similar 
 element that works.

 Regards

 Phil

 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 javascript:.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/polymer-dev/393f1c7d-b132-418a-9c54-41ca39518d85%40googlegroups.com
  
 https://groups.google.com/d/msgid/polymer-dev/393f1c7d-b132-418a-9c54-41ca39518d85%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




 -- 
 AJ Ortega | Software Engineer | a...@google.com javascript: |
  626-872-5064 
  

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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/3d0a55af-f305-450d-8e1e-e0e1719b7f9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[polymer-dev] App Globals and Polymer 1

2015-06-08 Thread phil cleaver
Hi,

I'm just starting to migrate my app to v 1.0, but have come stuck on 
getting app globals to work.

I was using PVC-Globals, but I cannot find an updated version for Polymer 
1.0.


I tried to make one myself and it is located at 

https://github.com/cleaverpj/pvc-globals/blob/cleaverpj-polymer1/pvc-globals.html

There is no error messages, but when I try to use it it values don't seem 
to get transferred between instances.

can anyone see what I'm doing wrong or does anyone know of a similar 
element that works.

Regards

Phil

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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/393f1c7d-b132-418a-9c54-41ca39518d85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[polymer-dev] Polymer and Google Blockly

2015-06-01 Thread phil cleaver
I'm the biggest fan of Google and everything they have done.  Google 
Blockly and Polymer are my absolute two favourite things that's going on 
online right now.  Google tells us that with Polymer they have completely 
reinvented the way the web works, and they have.  What they have done with 
Polymer is mind-blowingly awesome.  It does away with most of the 
JavaScript needed to write apps and now you do it all in HTML.

Throw in Firebase, another Google company and they have utterly and 
completely made all our lives (as long as you're a Web Developer) far far 
easier.  It's nothing short of genius.

Polymer has been around for 2 years now, Blockly has been around for at 
least 3 years, so why oh why am I struggling to make these two things work 
together?  It is completely unfathomable to me that a company with as many 
resources as it has, a company so ahead of it's time has made 2 completely 
awesome products, yet has apparently spent no time getting the left hand to 
talk to the right one, and linking them up.

There is a Blockly Web Component at https://github.com/gmp26/blockly-element. 
 It kind of works, but there's no data-binding on the workspace, or on the 
generated code, making it (almost) totally useless for anything serious. 
 It works when the blockly-element is in regular DOM, but put 2 of them in 
shadow DOM and see if you can find the workspace xml?  I've spent all in 
all probably a week of my life trying to get Blockly to work in a web 
component, and failed  :-(

Google, please stop this ridiculousness, and get someone from the Polymer 
team to go have a chat with Neil and I'm sure that in no time at all they 
can have a Blockly Web component working, and everyone who has discovered 
the wonders of Blockly will discover the virtues of Polymer, and many cool 
things will come of it.


Fustratingly yours

Phil

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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/d8fdefb6-5323-445f-85ff-332307192115%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.