Help getting started with Polymer

68 views
Skip to first unread message

irfan mir

unread,
Apr 13, 2014, 12:08:41 AM4/13/14
to polym...@googlegroups.com

Hello,
I want to get started using parts of Polymer. In my current project, I want to use web-animations, pointer-events, and pointers gestures.

Should I use the polyfill.js ? Or each of these separately? Perhaps put all 3 in one file?
I wasn't able to find the polyfill.js on github. Does anyone know where it is?

Rob Dodson

unread,
Apr 13, 2014, 10:59:28 AM4/13/14
to polym...@googlegroups.com, the...@gmail.com
Hi Irfan,

I think you're looking for platform.js, that's where the polyfills are aggregated.

If you just want to use the individual polyfills I would suggest using Bower to install them because that will make sure their dependencies get pulled down as well.

bower install --save web-animations/web-animations-js Polymer/PointerGestures

I haven't tried using those 3 standalone so let us know if you run into any issues.

Pascal Precht

unread,
Apr 13, 2014, 12:41:09 PM4/13/14
to polym...@googlegroups.com, the...@gmail.com
Everything +Rob said, plus:

Installing Polymer itself using Bower, installs Polymer as well as platform polyfills on you local machine anyway.

bower install polymer

is your friend.
Reply all
Reply to author
Forward
0 new messages