Skip to content

Commit

Permalink
chore(examples): include events built in
Browse files Browse the repository at this point in the history
* the only built-in that may be used occasionally (i.e. in the bpmn-js-
properties-panel)
  • Loading branch information
nikku committed Jun 22, 2016
1 parent fc1ca54 commit b069b4f
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions commenting/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ module.exports = function(grunt) {
browserify: {
options: {
browserifyOptions: {
// make sure we do not include browser shims unnecessarily
builtins: false,
// strip unnecessary built-ins
builtins: [ 'events' ],
insertGlobalVars: {
process: function () {
return 'undefined';
Expand Down Expand Up @@ -81,7 +81,7 @@ module.exports = function(grunt) {
options: {
livereload: true
},

samples: {
files: [ '<%= config.sources %>/**/*.*' ],
tasks: [ 'copy:app' ]
Expand Down
4 changes: 2 additions & 2 deletions custom-bower-bundle/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ module.exports = function(grunt) {
options: {
browserifyOptions: {
standalone: 'BpmnJS',
// make sure we do not include browser shims unnecessarily
builtins: false,
// strip unnecessary built-ins
builtins: [ 'events' ],
insertGlobalVars: {
process: function () {
return 'undefined';
Expand Down
6 changes: 3 additions & 3 deletions custom-meta-model/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ module.exports = function(grunt) {
browserify: {
options: {
browserifyOptions: {
// make sure we do not include browser shims unnecessarily
builtins: false,
// strip unnecessary built-ins
builtins: [ 'events' ],
insertGlobalVars: {
process: function () {
return 'undefined';
Expand Down Expand Up @@ -75,7 +75,7 @@ module.exports = function(grunt) {
options: {
livereload: true
},

samples: {
files: [ '<%= config.sources %>/**/*.*' ],
tasks: [ 'copy:app' ]
Expand Down
6 changes: 3 additions & 3 deletions i18n/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ module.exports = function(grunt) {
browserify: {
options: {
browserifyOptions: {
// make sure we do not include browser shims unnecessarily
builtins: false,
// strip unnecessary built-ins
builtins: [ 'events' ],
insertGlobalVars: {
process: function () {
return 'undefined';
Expand Down Expand Up @@ -91,7 +91,7 @@ module.exports = function(grunt) {
]
}
},

watch: {
options: {
livereload: true
Expand Down
4 changes: 2 additions & 2 deletions modeler/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ module.exports = function(grunt) {
browserify: {
options: {
browserifyOptions: {
// make sure we do not include browser shims unnecessarily
builtins: false,
// strip unnecessary built-ins
builtins: [ 'events' ],
insertGlobalVars: {
process: function () {
return 'undefined';
Expand Down
4 changes: 2 additions & 2 deletions overlays/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ module.exports = function(grunt) {
browserify: {
options: {
browserifyOptions: {
// make sure we do not include browser shims unnecessarily
builtins: false,
// strip unnecessary built-ins
builtins: [ 'events' ],
insertGlobalVars: {
process: function () {
return 'undefined';
Expand Down
4 changes: 2 additions & 2 deletions simple-commonjs/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ module.exports = function(grunt) {
browserify: {
options: {
browserifyOptions: {
// make sure we do not include browser shims unnecessarily
builtins: false,
// strip unnecessary built-ins
builtins: [ 'events' ],
insertGlobalVars: {
process: function () {
return 'undefined';
Expand Down

0 comments on commit b069b4f

Please sign in to comment.