You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JQueryMX, at least the View component, breaks when the local JQuery installation is set to no-conflicts mode because it uses the global window.$ variable to refer to jQuery -- when loading a view, JavaScript throws a "$ is undefined" error.
A cursory inspection of the view.js code suggests that the problem is a failure to correctly implement the "pass jQuery to a parameter called $" paradigm. There are several blocks of code wrapped in functions like this:
(function() {
...
})(jQuery);
which does not actually declare $ as a parameter but attempts to pass jQuery to it anyway. This means that calls to $.View inside these blocks will refer to the global $ variable instead of a local parameter, and will fail if JQuery is in no-conflicts mode.
The text was updated successfully, but these errors were encountered:
JQueryMX, at least the View component, breaks when the local JQuery installation is set to no-conflicts mode because it uses the global
window.$
variable to refer to jQuery -- when loading a view, JavaScript throws a "$ is undefined
" error.A cursory inspection of the view.js code suggests that the problem is a failure to correctly implement the "pass jQuery to a parameter called
$
" paradigm. There are several blocks of code wrapped in functions like this:which does not actually declare
$
as a parameter but attempts to pass jQuery to it anyway. This means that calls to$.View
inside these blocks will refer to the global$
variable instead of a local parameter, and will fail if JQuery is in no-conflicts mode.The text was updated successfully, but these errors were encountered: