##// END OF EJS Templates
notifications: use rhodecode-toast for notifications instead of toastr jquery plugin
notifications: use rhodecode-toast for notifications instead of toastr jquery plugin

File last commit:

r699:49c50282 default
r699:49c50282 default
Show More
rhodecode-unsafe-html.html
22 lines | 601 B | text/html | HtmlLexer
/ rhodecode / public / js / src / components / rhodecode-unsafe-html.html
<link rel="import" href="../../../../../bower_components/polymer/polymer.html">
<dom-module id="rhodecode-unsafe-html">
<template>
<style include="shared-styles"></style>
<content></content>
</template>
<script>
Polymer({
is: 'rhodecode-unsafe-html',
properties: {
text: {
type: String,
observer: '_handleText'
}
},
_handleText: function(newVal, oldVal){
this.innerHTML = this.text;
}
})
</script>
</dom-module>