Stone cart ajax
It is a Polymer-based element for storing the shopping cart built on top of the stone-cart element.
The documentation can be found here.
Install
$ bower install stone-cart-ajax --save
Usage
Add polyfill:
<script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
Import custom element:
<link rel="import" href="bower_components/stone-cart-ajax/stone-cart-ajax.html">
Development
Install dependencies:
$ npm install -g bower polyserve
$ bower install
Launch Polyserve:
$ polyserve
Testing
Install:
$ npm install -g web-component-tester
Run tests:
$ wct
Update GitHub pages
Install dependencies:
$ npm install -g yo generator-polymer
Pull changes:
$ yo polymer:gh