0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/content/plugins/exampleFilters.js

27 lines
560 B
JavaScript
Raw Normal View History

2013-05-28 19:10:39 -05:00
(function(){
"use strict";
/**
* Because I didn't want to write over FancyFirstChar
*/
var ExampleFilter;
var ExampleFilter = function(ghost){
this.ghost = function() {
return ghost;
}
}
ExampleFilter.prototype.init = function() {
this.ghost().registerFilter('messWithAdmin', function(adminNavbar){
console.log('adminnavbar settings run');
2013-05-30 17:43:04 -05:00
// delete adminNavbar.add;
2013-05-28 19:10:39 -05:00
return adminNavbar;
});
};
module.exports = ExampleFilter;
}());