Skip to content

Commit

Permalink
-> 0.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Jun 2, 2015
1 parent f0e8d75 commit 25fcafc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# changelog

## 0.6.2

* Noop indents are still chainable (fixes bug introduced in 0.6.1)

## 0.6.1

* Indenting with an empty string is a noop
Expand Down
4 changes: 2 additions & 2 deletions dist/magic-string.deps.js
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@

indentStr = indentStr !== undefined ? indentStr : this.indentStr || '\t';

if (indentStr === '') return; // noop
if (indentStr === '') return this; // noop

options = options || {};

Expand Down Expand Up @@ -865,7 +865,7 @@
indentStr = this.getIndentString();
}

if (indentStr === '') return; // noop
if (indentStr === '') return this; // noop

var trailingNewline = !this.intro || this.intro.slice(0, -1) === '\n';

Expand Down
4 changes: 2 additions & 2 deletions dist/magic-string.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@

indentStr = indentStr !== undefined ? indentStr : this.indentStr || '\t';

if (indentStr === '') return; // noop
if (indentStr === '') return this; // noop

options = options || {};

Expand Down Expand Up @@ -818,7 +818,7 @@
indentStr = this.getIndentString();
}

if (indentStr === '') return; // noop
if (indentStr === '') return this; // noop

var trailingNewline = !this.intro || this.intro.slice(0, -1) === '\n';

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "magic-string",
"description": "Modify strings, generate sourcemaps",
"author": "Rich Harris",
"version": "0.6.1",
"version": "0.6.2",
"repository": "https://github.com/rich-harris/magic-string",
"main": "dist/magic-string.js",
"jsnext:main": "src/MagicString/index.js",
Expand Down

0 comments on commit 25fcafc

Please sign in to comment.