Browse Source

Change mod() to factory() as the mod does not exist #34

pull/72/head
Artur Arseniev 9 years ago
parent
commit
ad9ceceb72
  1. 2
      Gruntfile.js
  2. 2
      dist/grapes.min.js

2
Gruntfile.js

@ -44,7 +44,7 @@ module.exports = function(grunt) {
"if (typeof define === 'function' && define.amd)"+
"define([], factory);"+
"else if(typeof exports === 'object' && typeof module === 'object')"+
"module.exports = mod();"+
"module.exports = factory();"+
"else "+
"root.<%= pkg.name %> = root.GrapesJS = factory();"+
"}(this, function () {",

2
dist/grapes.min.js

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save