I'm new to Spine. When I tried to use spine with browserify, it complained about cannot finding jquery unless I explicitly set
window.jQuery = require "jquery" .I use npm packaged jquery(1.11.0) and wonder if there's another solution to include jquery to Spine without exporting jQuery variable to the window object.
After some time diving into the source code of Spine, I found some code like $ = window?.jQuery or window?.Zepto or (element) -> element .
What does element stand for? In what circumstance will it be used and how?