mirror of https://github.com/rancher/ui.git
18 lines
343 B
JavaScript
18 lines
343 B
JavaScript
import Ember from 'ember';
|
|
|
|
export default Ember.Component.extend({
|
|
didInsertElement: function() {
|
|
this.highlightAll();
|
|
},
|
|
actions: {
|
|
dismiss: function() {
|
|
this.sendAction('dismiss');
|
|
}
|
|
},
|
|
highlightAll: function() {
|
|
this.$('CODE').each(function(idx, elem) {
|
|
Prism.highlightElement(elem);
|
|
});
|
|
},
|
|
});
|