12 years, 8 months ago
this is a scope and closure issue.
the function will not be avilable outside the closure it was defined.It has a local scope in global.js.
your better option would be copy it and define in your file until Andy puts it in the global scope.
See also: WordPress.org •
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service