Fix minification process

This commit is contained in:
James Allen 2014-07-09 18:20:57 +01:00
parent 16e382bef2
commit 558d32adeb

View file

@ -165,7 +165,7 @@ module.exports = (grunt) ->
grunt.registerTask 'wrap_sharejs', 'Wrap the compiled ShareJS code for AMD module loading', () ->
content = fs.readFileSync "public/js/libs/sharejs.js"
fs.writeFileSync "public/js/libs/sharejs.js", """
define(["ace/range"], function() {
define(["ace/ace"], function() {
#{content}
return window.sharejs;
});