diff --git a/boot/boot.js b/boot/boot.js index 6e99863f8..ba780a109 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -2467,16 +2467,29 @@ $tw.boot.executeNextStartupTask = function(callback) { }; /* -Returns true if we are running on one platforms specified in a task modules `platforms` array +Returns true if we are running on one of the platforms specified in taskModule's +`platforms` array; or if `platforms` property is not defined. */ $tw.boot.doesTaskMatchPlatform = function(taskModule) { var platforms = taskModule.platforms; if(platforms) { for(var t=0; t