D
D
dissdoc2015-08-26 10:11:25
RequireJS
dissdoc, 2015-08-26 10:11:25

Why use both RequireJS and Marionette.Modules?

Colleagues, hello!
I'm currently learning MarionetteJS and I have a question: Why use RequireJS and Marionette.module together? What's the use of this? I can't understand this moment...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Kitmanov, 2015-08-26
@dissdoc

marionettejs.com/docs/v2.4.2/marionette.module.html
English in white:

Warning: deprecated
Marionette.Module is deprecated, and is scheduled to be removed in the next major release of the library. Instead
of Marionette.Module, you should use AMD/CommonJS/ES6 for modularity. A Marionette.Module shim is available if necessary after its removal.

Bottom line: Marionette.Modules are deprecated, they will not be in the next version, use for AMD/CommonJS/ES6 modules.

D
dissdoc, 2015-08-26
@dissdoc

I didn't see it. Thanks for the tip.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question