Skip to content

Instantly share code, notes, and snippets.

@xeolabs
Created October 17, 2009 06:59
Show Gist options
  • Select an option

  • Save xeolabs/212275 to your computer and use it in GitHub Desktop.

Select an option

Save xeolabs/212275 to your computer and use it in GitHub Desktop.
var config = {
preVisit: function() {
// Do something
}
};
var myNode1 = new SceneJs.node(config);
config.preVisit = function() { // Don't do this!!
}
var myNode2 = new SceneJs.node(config);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment