0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-26 13:49:01 -05:00

fix standalone option

This commit is contained in:
liabru 2015-08-17 21:02:41 +01:00
parent 6e0e7e47f8
commit de165293c3
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ module.exports = function(grunt) {
options: { options: {
banner: '/**\n* <%= buildName %>.js <%= buildVersion %> <%= grunt.template.today("yyyy-mm-dd") %>\n* <%= pkg.homepage %>\n* License: <%= pkg.license %>\n*/\n\n', banner: '/**\n* <%= buildName %>.js <%= buildVersion %> <%= grunt.template.today("yyyy-mm-dd") %>\n* <%= pkg.homepage %>\n* License: <%= pkg.license %>\n*/\n\n',
browserifyOptions: { browserifyOptions: {
standalone: '<%= pkg.name %>' standalone: 'Matter'
} }
}, },
'build/<%= buildName %>.js': ['src/module/main.js'] 'build/<%= buildName %>.js': ['src/module/main.js']

View file

@ -22,7 +22,7 @@
* THE SOFTWARE. * THE SOFTWARE.
*/ */
Matter = module.exports = {}; var Matter = module.exports = {};
Matter.Body = require('../body/Body'); Matter.Body = require('../body/Body');
Matter.Composite = require('../body/Composite'); Matter.Composite = require('../body/Composite');