Skip to content

Commit

Permalink
Bump to 1.0.0-beta13
Browse files Browse the repository at this point in the history
  • Loading branch information
karellm committed May 3, 2018
1 parent e95addf commit b89fdff
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
@@ -1,6 +1,6 @@
# Changelog

## 1.0.0-beta12 - latest
## 1.0.0-beta13 - latest

- The changelog for the beta can be found in the [releases](https://github.com/i18next/i18next-parser/releases)

Expand Down
5 changes: 1 addition & 4 deletions dist/lexers/jsx-lexer.js
Expand Up @@ -27,10 +27,7 @@ JsxLexer = function (_JavascriptLexer) {_inherits(JsxLexer, _JavascriptLexer);
function JsxLexer() {var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};_classCallCheck(this, JsxLexer);var _this = _possibleConstructorReturn(this, (JsxLexer.__proto__ || Object.getPrototypeOf(JsxLexer)).call(this,
options));

_this.acornOptions = _extends({ sourceType: 'module', plugins: { jsx: true } }, options.acorn);

_this.functions = options.functions || ['t'];
_this.attr = options.attr || 'i18nKey';return _this;
_this.acornOptions = _extends({ sourceType: 'module', plugins: { jsx: true } }, options.acorn);return _this;
}_createClass(JsxLexer, [{ key: 'extract', value: function extract(

content) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"author": "Karel Ledru",
"description": "Command Line tool for i18next",
"name": "i18next-parser",
"version": "1.0.0-beta12",
"version": "1.0.0-beta13",
"license": "MIT",
"main": "dist/index.js",
"bin": {
Expand Down
3 changes: 0 additions & 3 deletions src/lexers/jsx-lexer.js
Expand Up @@ -28,9 +28,6 @@ export default class JsxLexer extends JavascriptLexer {
super(options)

this.acornOptions = { sourceType: 'module', plugins: { jsx: true }, ...options.acorn }

this.functions = options.functions || ['t']
this.attr = options.attr || 'i18nKey'
}

extract(content) {
Expand Down

0 comments on commit b89fdff

Please sign in to comment.