What is define([ , function ]) in JavaScript?
define() is part of the AMD spec of js See: https://github.com/amdjs/amdjs-api/wiki/AMD Edit: Also see Claudio’s answer below. Likely the more relevant explanation.
define() is part of the AMD spec of js See: https://github.com/amdjs/amdjs-api/wiki/AMD Edit: Also see Claudio’s answer below. Likely the more relevant explanation.