Permalink
Browse files

[fix] remove the default implementation of render, all done by pagele…

…t module
  • Loading branch information...
Swaagie committed Mar 13, 2014
1 parent 47a8a8b commit 683e2639ba611edb562798e04f63167ef0995e73
Showing with 2 additions and 8 deletions.
  1. +2 −8 pagelets/diagnostics/index.js
@@ -4,11 +4,5 @@ var Pagelet = require('../..').Pagelet;
Pagelet.extend({
view: 'diagnostic.ejs',
- css: 'diagnostic.styl',
-
- render: function render(done) {
- setTimeout(function () {
- done();
- }, 100);
- }
-}).on(module);
+ css: 'diagnostic.styl'
+}).on(module);

0 comments on commit 683e263

Please sign in to comment.