##// END OF EJS Templates
grunt: do not use crisper...
grunt: do not use crisper - fixed some polymer specific package problems

File last commit:

r3149:a1e63a84 default
r3156:6bd054a4 default
Show More
rhodecode-favicon.html
29 lines | 770 B | text/html | HtmlLexer
<link rel="import" href="../../../../../../bower_components/polymer/polymer.html">
<dom-module id="rhodecode-favicon">
<template>
</template>
<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>
</dom-module>