Skip to content

Commit fca1bd9

Browse files
committed
New build to test state change in. Also various Gruntfile fixes that arose from the tasks split.
1 parent 1f32ef7 commit fca1bd9

18 files changed

Lines changed: 1565 additions & 1062 deletions

Gruntfile.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
module.exports = function (grunt) {
2+
23
var loadConfig = require('load-grunt-config');
34

45
loadConfig(grunt, {
56
configPath: __dirname + '/tasks/options',
67
config: {
8+
package: grunt.file.readJSON('package.json'),
79
release_dir: 'build',
8-
compile_dir: 'dist'
10+
compile_dir: 'dist',
11+
banner: require('fs').readFileSync(__dirname + '/tasks/banner.txt', 'utf8')
912
}
1013
});
1114

@@ -14,6 +17,7 @@ module.exports = function (grunt) {
1417
grunt.registerTask('default', ['build']);
1518

1619
grunt.registerTask('build', ['clean', 'jshint', 'concat', 'uglify']);
20+
1721
grunt.registerTask('dist', ['build', 'copy']);
1822

1923
};

build/custom/ninja.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/p2.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10888,12 +10888,6 @@ Phaser.Physics.P2 = function (game, config) {
1088810888

1088910889
};
1089010890

10891-
/**
10892-
* @const
10893-
* @type {number}
10894-
*/
10895-
Phaser.Physics.P2.LIME_CORONA_JSON = 0;
10896-
1089710891
Phaser.Physics.P2.prototype = {
1089810892

1089910893
/**
@@ -13646,7 +13640,7 @@ Phaser.Physics.P2.Body.prototype = {
1364613640

1364713641
this.clearShapes();
1364813642

13649-
this.addCircle(radius, offsetX, offsetY, rotation);
13643+
return this.addCircle(radius, offsetX, offsetY, rotation);
1365013644

1365113645
},
1365213646

build/custom/p2.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)