Puppetmaster3's Blog

I write code.

Node context sensitive IDE editing

Posted by puppetmaster3 on August 21, 2011

Download and view in VLC: ide.mp4

It shows how to do context sensitive editing in node w/mongo. Also it happens to be yet another example of node/mogo.

The trick is:
var MediaModel = require(‘./srvCode/MediaMod’);
var mediaMod = new MediaModel();
//var mediaMod = new MediaMod();//IDE hack, comment out at run time

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: