Skip to content

Commit

Permalink
Switch parameters, more logical.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfram Kriesing committed Nov 1, 2010
1 parent ed42b68 commit ecbc5f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ load(_jsToolsPath + "/lib/FileList.js");

// Let's merge the "platform" param if used into "platforms".
// Validate the platforms given and keep working with the clean list.
var allValidPlatforms = platform.getAllValid(cmdLine.mergeParams("platforms", "platform"), config.platformsDirectory);
var allValidPlatforms = platform.getAllValid(config.platformsDirectory, cmdLine.mergeParams("platforms", "platform"));


//
Expand Down
2 changes: 1 addition & 1 deletion js/lib/platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var platform = {
}
],

getAllValid:function(platforms, platformsDirectory){
getAllValid:function(platformsDirectory, platforms){
// summary: Find out all the valid platforms, either by the given ones of by searching the platformsDirectory
// description: 1) Either the platforms are given as the parameter "platforms" or
// 2) we search the platformsDirectory for all the ".json" files and
Expand Down

0 comments on commit ecbc5f1

Please sign in to comment.