From de165293c3f916bf50fada0372c02dec824c0c11 Mon Sep 17 00:00:00 2001 From: liabru Date: Mon, 17 Aug 2015 21:02:41 +0100 Subject: [PATCH] fix standalone option --- Gruntfile.js | 2 +- src/module/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index ea9503a..fe512ee 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -8,7 +8,7 @@ module.exports = function(grunt) { options: { banner: '/**\n* <%= buildName %>.js <%= buildVersion %> <%= grunt.template.today("yyyy-mm-dd") %>\n* <%= pkg.homepage %>\n* License: <%= pkg.license %>\n*/\n\n', browserifyOptions: { - standalone: '<%= pkg.name %>' + standalone: 'Matter' } }, 'build/<%= buildName %>.js': ['src/module/main.js'] diff --git a/src/module/main.js b/src/module/main.js index e06599b..160243a 100644 --- a/src/module/main.js +++ b/src/module/main.js @@ -22,7 +22,7 @@ * THE SOFTWARE. */ -Matter = module.exports = {}; +var Matter = module.exports = {}; Matter.Body = require('../body/Body'); Matter.Composite = require('../body/Composite');