##// END OF EJS Templates
packaging: Improve name of bower components derivation...
packaging: Improve name of bower components derivation - Include the version, so that it can easier be related based on the name in the nix store. - Avoid appending bower-components since this part is already added as a prefix by the machinery.

File last commit:

r703:1eda65ea default
r724:10b241b0 default
Show More
rhodecode-toast.js
29 lines | 586 B | application/javascript | JavascriptLexer
Polymer({
is: 'rhodecode-toast',
properties: {
toasts: {
type: Array,
value: function(){
return []
}
}
},
observers: [
'_changedToasts(toasts.splices)'
],
ready: function(){
},
_changedToasts: function(newValue, oldValue){
this.$['p-toast'].notifyResize();
},
dismissNotifications: function(){
this.$['p-toast'].close();
this.splice('toasts', 0);
},
open: function(){
this.$['p-toast'].open();
},
_gettext: _gettext
});