Skip to content

Commit

Permalink
more AMD goodness
Browse files Browse the repository at this point in the history
  • Loading branch information
phiggins42 committed Jun 3, 2011
1 parent 25411f4 commit d87c826
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 102 deletions.
4 changes: 1 addition & 3 deletions PeriodicUpdater.js
@@ -1,7 +1,7 @@
define(["dojo"], function(dojo){

var d = dojo;
d.declare("dojo.PeriodicUpdater", null, {
return d.declare("dojo.PeriodicUpdater", null, {
// summary: A Class used to control the periodic updating of some node
//
// description:
Expand Down Expand Up @@ -126,7 +126,5 @@ define(["dojo"], function(dojo){
return data;
}
});

return dojo;

});
2 changes: 1 addition & 1 deletion changedojo.js
Expand Up @@ -10,7 +10,7 @@ define(["dojo"], function(dojo){
};
=====*/

// replace the old dojo with something a function
// replace the old dojo with something (a function)
var d = dojo;
dojo = window[d._scopeName] = function(a){
if(d.isFunction(a)){
Expand Down
3 changes: 2 additions & 1 deletion node.js
Expand Up @@ -358,5 +358,6 @@ define(["dojo"], function(dojo){
}
//>>excludeEnd("autoConflict");

return dojo;
return dojo.node;

});
1 change: 1 addition & 0 deletions plugin.js
Expand Up @@ -52,4 +52,5 @@ define(["dojo"], function(dojo){
return f; // Function
}

return d.plugin;
});
97 changes: 0 additions & 97 deletions trans.js

This file was deleted.

0 comments on commit d87c826

Please sign in to comment.