Build: fix tests in AMD mode

- nodeName was included at the wrong spot in dependency lists
This commit is contained in:
Timmy Willison 2017-03-06 18:31:44 -05:00
parent 6d43dc4233
commit 56136897f2
No known key found for this signature in database
GPG Key ID: 5F0C8B73EF56CE6F
6 changed files with 14 additions and 10 deletions

View File

@ -2,8 +2,9 @@ define( [
"../core",
"../core/stripAndCollapse",
"./support",
"../core/init",
"../core/nodeName"
"../core/nodeName",
"../core/init"
], function( jQuery, stripAndCollapse, support, nodeName ) {
"use strict";

View File

@ -3,6 +3,7 @@ define( [
"../core",
"../var/document",
"./var/rsingleTag",
"../traversing/findFilter"
], function( jQuery, document, rsingleTag ) {

View File

@ -6,11 +6,12 @@ define( [
"./var/rcheckableType",
"./var/slice",
"./data/var/dataPriv",
"./core/init",
"./core/nodeName",
"./core/init",
"./selector"
], function( jQuery, document, documentElement, rnothtmlwhite, rcheckableType, slice, dataPriv,
nodeName ) {
], function( jQuery, document, documentElement, rnothtmlwhite,
rcheckableType, slice, dataPriv, nodeName ) {
"use strict";

View File

@ -16,9 +16,9 @@ define( [
"./data/var/dataUser",
"./data/var/acceptData",
"./core/DOMEval",
"./core/nodeName",
"./core/init",
"./core/nodeName",
"./traversing",
"./selector",
"./event"

View File

@ -7,13 +7,13 @@ define( [
"./css/curCSS",
"./css/addGetHookIf",
"./css/support",
"./core/nodeName",
"./core/init",
"./core/nodeName",
"./css",
"./selector" // contains
], function( jQuery, access, document, documentElement, rnumnonpx, curCSS, addGetHookIf, support,
nodeName ) {
], function( jQuery, access, document, documentElement, rnumnonpx,
curCSS, addGetHookIf, support, nodeName ) {
"use strict";

View File

@ -4,8 +4,9 @@ define( [
"./traversing/var/dir",
"./traversing/var/siblings",
"./traversing/var/rneedsContext",
"./core/init",
"./core/nodeName",
"./core/init",
"./traversing/findFilter",
"./selector"
], function( jQuery, indexOf, dir, siblings, rneedsContext, nodeName ) {