From acce02adcd4a0b43217f0ae1b937fee04bdc2ebd Mon Sep 17 00:00:00 2001 From: bootstraponline Date: Mon, 1 Oct 2012 21:06:25 -0600 Subject: [PATCH] Fix removeLicenceComments typo. --- Makefile.dryice.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.dryice.js b/Makefile.dryice.js index 6c55a5bd..814b1c5e 100755 --- a/Makefile.dryice.js +++ b/Makefile.dryice.js @@ -269,7 +269,7 @@ function buildAce(options) { copy.filter.moduleDefines, filterTextPlugin, removeUseStrict, - removeLicenceCmments + removeLicenceComments ]; if (options.noconflict) { @@ -370,7 +370,7 @@ function buildAce(options) { copy.filter.moduleDefines, filterTextPlugin, removeUseStrict, - removeLicenceCmments + removeLicenceComments ]; options.workers.forEach(function(mode) { @@ -466,7 +466,7 @@ function removeUseStrict(text) { return text.replace(/['"]use strict['"];/g, ""); } -function removeLicenceCmments(text) { +function removeLicenceComments(text) { return text.replace(/(;)\s*\/\*[\d\D]*?\*\//g, "$1"); }