Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Your AMD dependency injections are going to cause your <code>fx</code> call to fail.</p> <p>You're asking for:</p> <pre><code>"dojo/query", "dojo/dom-class", "dojo/domReady!", "dojo/request", "dojo/json", "dojo/_base/fx", "dojo/on", "dojo/dom-attr", "dojo/dom-style" </code></pre> <p>but mapping them to:</p> <pre><code>query, domClass, dom, request, fx, on, domAttr </code></pre> <p>That is, your <code>query</code> variable will get the <code>dojo/query</code> module, <code>domClass</code> will get given <code>dojo/dom-class</code>, <code>dom</code> will get given <code>dojo/domReady!</code>, <code>request</code> will get <code>dojo/request</code> and your <code>fx</code> variable will be given the <code>dojo/json</code> module, so <code>fx.fadeIn</code> won't work.</p> <p>You need to make sure that the modules you're asking for, and the variables you're getting them in as, match up, one by one. You can ask for more modules than you want to map to variables, but any such modules (<code>dojo/domReady!</code> is a good example) need to go at the end.</p> <p>So, a good header for you might be:</p> <pre><code>define([ // Modules I actually want, and have variables for: "dojo/query", "dojo/dom-class", "dojo/request", "dojo/json", "dojo/_base/fx", "dojo/on", "dojo/dom-attr", "dojo/dom-style", // Modules I want to be loaded, but don't have variables for: "dojo/domReady!"], function(query, domClass, request, JSON, fx, on, domAttr, domStyle) { </code></pre> <p>I don't know whether that'll be <em>sufficient</em> to get your sample working completely, but matching up the modules is definitely your immediate problem.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload