NotificationCenterGenerics script not working

I am trying to use the notificationcentergenerics.js script and can’t seem to get it to work. Can someone tell me if I’m using it correctly? Right now I don’t get any messages sent anywhere.

http://wiki.unity3d.com/index.php?title=NotificationCenterGenerics

I have two GameObjects Sender and Receiver. NotificationCenterGenerics.js is in the assets folder.

Sender has a script attached which has this.

#pragma strict

var dataObject="hello";
NotificationCenter.DefaultCenter().PostNotification(this, "OnBumperCollision");

function Update () {
OnBumperCollision();
}


function OnBumperCollision(){
	Debug.Log("bumpercollision function occurred");
	dataObject="hello";
}

Receiver script has this:
#pragma strict

function Start () {
NotificationCenter.DefaultCenter().AddObserver(this, "OnBumperCollision");
}



function OnBumperCollision (notification: Notification) {
    Debug.Log("Received notification from: " + notification.sender);
    if (notification.data == null)
        Debug.Log("And the data object was null!");
    else
        Debug.Log("And it included a data object: " + notification.data);  
}

Looking at the docs and code, you want to call PostNotification each time you want to send the notification. In other words, change your first script to this:

#pragma strict

var dataObject="hello";

function Update () {
	OnBumperCollision();
}


function OnBumperCollision(){
	Debug.Log("bumpercollision function occurred");
	NotificationCenter.DefaultCenter().PostNotification(this, "OnBumperCollision");
	dataObject="hello";
}