Changeset 7646

Show
Ignore:
Timestamp:
03/18/07 00:28:03 (22 months ago)
Author:
alex
Message:

port the command-line tests to run using the most primordial Dojo package loader. Refs #2500. Refs #2550

Location:
dojo/trunk
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • dojo/trunk/tests/runner.js

    r7635 r7646  
    663663 
    664664if(this["dojo"]){ 
    665         dojo.compoundRequire({ 
     665        dojo.kwCompoundRequire({ 
    666666                browser: ["tests._browserRunner"], 
    667                 rhino: ["tests._rhinoRunner"] 
     667                rhino: ["tests._rhinoRunner"], 
     668                spidermonkey: ["tests._rhinoRunner"] 
    668669        }); 
    669670        dojo.require("tests._base"); 
  • dojo/trunk/_base/_loader/loader.js

    r7640 r7646  
    2323                // FIXME: it should be possible to pull module prefixes in from djConfig 
    2424                modulePrefixes_: { 
    25                         dojo: {name: "dojo", value: "src"} 
     25                        dojo: {name: "dojo", value: ""}, 
     26                        tests: {name: "tests", value: "tests"} 
    2627                }, 
    2728