##// END OF EJS Templates
file-nodes: added streaming remote attributes for vcsserver....
file-nodes: added streaming remote attributes for vcsserver. - this will enable doing a streaming raw content or raw downloads of large files without transfering them over to enterprise for pack & repack using msgpack - msgpack has a limit of 4gb and generally pack+repack for 2gb is very slow

File last commit:

r3192:689a0c93 merge stable
r3895:2b1d7e0d default
Show More
rhodecode-favicon.js
33 lines | 727 B | application/javascript | JavascriptLexer
import {PolymerElement, html} from '@polymer/polymer/polymer-element.js';
export class RhodecodeFavicon extends PolymerElement {
static get is() {
return 'rhodecode-favicon';
}
static get properties() {
return {
favicon: Object,
counter: {
type: Number,
observer: '_handleCounter'
}
}
}
connectedCallback() {
super.connectedCallback();
this.favicon = new Favico({
type: 'rectangle',
animation: 'none'
});
}
_handleCounter(newVal, oldVal) {
this.favicon.badge(this.counter);
}
}
customElements.define(RhodecodeFavicon.is, RhodecodeFavicon);