A very extendable Toolkit to inject Javascript Behaviour into rendered HTML without Inline Javascript. (jsb was formerly known as JsBehaviourToolkit)
52
stars
8
forks
source link
Deprecate registerHandler call, if using requirejs #11
Closed
DracoBlue closed 11 years ago
Since we are (sometimes) using requirejs to load jsb's on demand, the
jsb.registerHandler
call is not really necessary.Thus we could just call registerHandler with the result of the require-call, if there was one!