Skip to content

Commit

Permalink
Add a dependency to test loading of other modules; #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Grandrath committed Aug 27, 2012
1 parent 030c472 commit 61cfc37
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/greeting.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
define(function() {
define(['world'], function(world) {

return {
message: 'Hello world!'
message: 'Hello ' + world + '!'
};

});
5 changes: 5 additions & 0 deletions src/world.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
define(function() {

return "world";

});

0 comments on commit 61cfc37

Please sign in to comment.