Skip to content

Commit

Permalink
Disable the rawModHtml call, as it's not working.
Browse files Browse the repository at this point in the history
  • Loading branch information
trusktr committed Dec 29, 2016
1 parent 8d06f34 commit 837f865
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions server/main.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@

// TODO: doesn't work. See https://github.com/meteorhacks/meteor-inject-initial/issues/18
Inject.rawModHtml('raf-timeout', function(html, res) {
console.log(' ------ HTML', html)
return html + "<!-- hello Inject -->"
})
//Inject.rawModHtml('raf-timeout', function(html, res) {
//console.log(' ------ ARGS', arguments)
//res.end(html + "<!-- hello Inject -->")
//return html
//})

function sleep(duration) {
return new Promise(r => setTimeout(r, duration))
Expand Down

0 comments on commit 837f865

Please sign in to comment.