Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed issues with comma insertion in Lorem Ipsum module

Fixes #305
  • Loading branch information...
commit e2d0bd0f4afb2a776cb5cb0299a85f2128edd4c3 1 parent 74bffa7
@sergeche authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 emmet/emmet-app.js
View
4 emmet/emmet-app.js
@@ -12812,7 +12812,9 @@ emmet.define('lorem', function(require, _) {
} else if (len > 6 && len <= 12) {
totalCommas = randint(0, 2);
} else {
- totalCommas = randint(1, 4);
+ totalCommas = randint(1, 4);
+ }
+
_.each(_.range(totalCommas), function(ix) {
if (ix < words.length - 1) {
words[ix] += ',';
Please sign in to comment.
Something went wrong with that request. Please try again.