##// END OF EJS Templates
repo: Implement ReadmeFinder...
repo: Implement ReadmeFinder It currently resembles the logic from the old markup renderer. The implementation is based on get_nodes though, so that we should usually only have one call or at most three calls if the directories "doc" and/or "docs" exist. A difference is that we now ignore the case, this already simplifies the rule definition.

File last commit:

r703:1eda65ea default
r772:c191de56 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
});