File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,11 +74,11 @@ module.exports = function (grunt) {
7474 {
7575 grunt . log . writeln ( "\nUse --exclude to select which modules to exclude:\n" ) ;
7676
77- for ( var key in modules )
77+ for ( var module in modules )
7878 {
79- if ( modules [ key ] . optional )
79+ if ( modules [ module ] . optional )
8080 {
81- grunt . log . writeln ( key + ' - ' + modules [ key ] . description ) ;
81+ grunt . log . writeln ( module + ' - ' + modules [ module ] . description ) ;
8282 }
8383 }
8484
@@ -113,15 +113,15 @@ module.exports = function (grunt) {
113113 // Check the given modules are all valid
114114 for ( var i = 0 ; i < excludes . length ; i ++ )
115115 {
116- var key = excludes [ i ] ;
116+ var exclude = excludes [ i ] ;
117117
118- if ( modules [ key ] )
118+ if ( modules [ exclude ] )
119119 {
120- grunt . log . writeln ( "* " + key + ' - ' + modules [ key ] . description ) ;
120+ grunt . log . writeln ( "* " + exclude + ' - ' + modules [ exclude ] . description ) ;
121121 }
122122 else
123123 {
124- grunt . fail . fatal ( "Unknown module '" + key + "'" ) ;
124+ grunt . fail . fatal ( "Unknown module '" + exclude + "'" ) ;
125125 }
126126 }
127127
Original file line number Diff line number Diff line change 99* It allows you to exclude the default Sound Manager from your build, without making Game crash.
1010*/
1111
12- Phaser . SoundManager = function ( game ) { } ;
12+ Phaser . SoundManager = function ( ) { } ;
1313
1414Phaser . SoundManager . prototype . boot = function ( ) { } ;
1515Phaser . SoundManager . prototype . update = function ( ) { } ;
Original file line number Diff line number Diff line change 99* It allows you to exclude the default Tween Manager from your build, without making Game crash.
1010*/
1111
12- Phaser . TweenManager = function ( game ) { } ;
12+ Phaser . TweenManager = function ( ) { } ;
1313
1414Phaser . TweenManager . prototype . update = function ( ) { } ;
1515
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ module.exports = {
33 custom : {
44 expand : true ,
55 flatten : true ,
6- cwd : '<%= compile_dir %>/' ,
7- src : [ '*.js' , '*.map' ] ,
6+ cwd : '<%= compile_dir %>/' ,
7+ src : [ '*.js' , '*.map' ] ,
88 dest : '<%= target_dir %>/'
99 }
1010
You can’t perform that action at this time.
0 commit comments