Skip to content

Instantly share code, notes, and snippets.

@ialexi
Created December 3, 2009 05:02
Show Gist options
  • Select an option

  • Save ialexi/247900 to your computer and use it in GitHub Desktop.

Select an option

Save ialexi/247900 to your computer and use it in GitHub Desktop.
_hashFor: function(target, action) {
var hash = SC.guidFor(target);
if (SC.typeOf(action) == SC.T_STRING) {
hash += "::" + action;
} else hash += SC.guidFor(action);
return hash;
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment