Skip to content

Commit 3f05a5e

Browse files
committed
Named the module for testability
1 parent 67df0cd commit 3f05a5e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

js/jquery.mobile.support.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
*/
44

55
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
6-
define( [ "jquery.mobile.media" ], function() {
6+
// For test purposes we can't use anonymous module here otherwise
7+
// the tests will throw http://requirejs.org/docs/errors.html#mismatch
8+
define( "jquery.mobile.support", [ "jquery.mobile.media" ], function() {
79
//>>excludeEnd("jqmBuildExclude");
810
(function( $, undefined ) {
911

0 commit comments

Comments
 (0)