##// END OF EJS Templates
frontend: use webpack instead of vulcanize
frontend: use webpack instead of vulcanize

File last commit:

r3149:a1e63a84 default
r3171:b9c8d2ad default
Show More
rhodecode-favicon.html
29 lines | 770 B | text/html | HtmlLexer
favicon: added favicon notifications
r882 <link rel="import" href="../../../../../../bower_components/polymer/polymer.html">
<dom-module id="rhodecode-favicon">
<template>
</template>
polymer: prepare for 3.x migration
r3149 <script>
Polymer({
is: 'rhodecode-favicon',
properties: {
favicon: Object,
counter: {
type: Number,
observer: '_handleCounter'
}
},
ready: function () {
this.favicon = new Favico({
type: 'rectangle',
animation: 'none'
});
},
_handleCounter: function (newVal, oldVal) {
this.favicon.badge(this.counter);
}
});
</script>
favicon: added favicon notifications
r882 </dom-module>