renderNothing #14

Closed
wants to merge 3 commits into
from

Conversation

Projects
None yet
2 participants

eliaskg commented Oct 16, 2010

I also added a renderNothing function to renderer.js

I made the experience that I often deal with methods which return simply nothing. For example if I delete some entry in the db. I could call self.renderText("") but I think self.renderNothing() would be more self explaining. Also it's very similar to Rails' render :nothing => :true method.

Owner

cskr commented Oct 16, 2010

This can already be achieved by invoking this.render() without any argument. So I guess a renderNothing() won't add anything.

eliaskg commented Oct 16, 2010

Yeah you right, I didn't know that. Did you see the servers method also?

Owner

cskr commented Oct 16, 2010

Yup that looked good. I'm in the middle of fixing something. Will merge after that.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment