Skip to main content

Keegan Watkins

Member since Mar 29, 2011

Recent Blog Comments By Keegan Watkins

  • Where Does Node.js And Require() Look For Modules?

    Posted on Apr 13, 2011 at 12:05 PM

    hey ben, while you're exploring node.js, you should consider using Node Package Manager (NPM) ( http://npmjs.org/ ) ... it's a great utility for managing additional modules, and can help remove some of the guesswork. nice writeup!... read more »

  • Adding A Splice() Method To The Javascript String Prototype

    Posted on Mar 29, 2011 at 1:59 PM

    nice article ben! any time you're augmenting the built-ins, it's a good idea to at least check for the presence of the property before adding it, something like: if ( !("splice" in String.prototype) ) { String.prototype.splice = function() { // implementation of new method } } ... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel