Skip to content

Commit

Permalink
moves DOMContentLoaded etc. from loader to modules; adds dojo/domRead…
Browse files Browse the repository at this point in the history
…y (thanks Bryan Forbes); renames dojo/_base/load to dojo/ready; see #13113 for details; fixes #13113; !strict
  • Loading branch information
rcgill committed May 30, 2011
1 parent 6bf8db1 commit e3eb776
Show file tree
Hide file tree
Showing 43 changed files with 327 additions and 323 deletions.
1 change: 1 addition & 0 deletions _base/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if(require.has){
require.has.add("config-selectorEngine", "acme");
}
define([
"../ready",
"./kernel",
"./sniff",
"./connect", // until we decide if connect is going back into non-browser environments
Expand Down
2 changes: 1 addition & 1 deletion _base/kernel.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ define(["../has", "./config", "require"], function(has, config, require){
has.add(p, config.has[p], 0, 1);
}
if(has("dojo-loader") && has("dojo-config-api")){
require.onConfig(function(config){
require.on("config", function(config){
for(p in config){
has.add(p, config[p]);
}
Expand Down
54 changes: 0 additions & 54 deletions _base/load.js

This file was deleted.

Loading

0 comments on commit e3eb776

Please sign in to comment.