mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Commit realizando cambios en los roles de los usuarios
This commit is contained in:
19
httpdocs/themes/focus2/vendor/syntaxhighlighter/highlighters.js
vendored
Normal file
19
httpdocs/themes/focus2/vendor/syntaxhighlighter/highlighters.js
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
var highlighters = {};
|
||||
|
||||
module.exports = {
|
||||
id: function(id)
|
||||
{
|
||||
var prefix = 'highlighter_';
|
||||
return id.indexOf(prefix) == 0 ? id : prefix + id;
|
||||
},
|
||||
|
||||
get: function(id)
|
||||
{
|
||||
return highlighters[this.id(id)];
|
||||
},
|
||||
|
||||
set: function(id, highlighter)
|
||||
{
|
||||
highlighters[this.id(id)] = highlighter;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user