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:
parent
6e0e7e47f8
commit
de165293c3
2 changed files with 2 additions and 2 deletions
|
@ -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']
|
||||||
|
|
|
@ -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');
|
||||||
|
|
Loading…
Reference in a new issue