Skip to content

Commit

Permalink
fix for looping
Browse files Browse the repository at this point in the history
  • Loading branch information
arajajyothibabu committed Apr 16, 2017
1 parent 1a053a4 commit 3863a0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/converter.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ StylesConverter.prototype.toJSON = function (text) {
}
var output = {}, lastKey, term, style, _this = this;
try {
text.split("{").every(function (item) {
text.split("{").forEach(function (item) {
term = item.trim();
if (term) {
if (term.indexOf("}") === -1) {
Expand Down

0 comments on commit 3863a0b

Please sign in to comment.