Ben McCann

Co-founder of Connectifier.
Investor at C3 Ventures.
Google and CMU alum.

Ben McCann on LinkedIn Ben McCann on AngelList Ben McCann on Twitter

JavaScript

Installing Node.js on Ubuntu 12.04

08/29/2013

The version of Node.js that comes with Ubuntu is outdated. To install a more recent version download the binary from nodejs.org. When install packages via npm, be sure to use the -g flag. E.g.: sudo npm install -g bower sudo npm install -g grunt-cli

Using the GWT ClickListener on an Element

11/24/2008

GWT uses what it calls a ClickListener instead of the standard HTML onclick attribute.  The normal way to use a GWT CLickListener would be as follows: focusWidget.addClickListener(new ClickListener() { public void onClick(Widget sender) { // do something here } }); Unfortunately, this seems not to work on an HTML Element.  Luckily, you can use JSNI Read More