Skip to content

Commit

Permalink
adjust to babel test
Browse files Browse the repository at this point in the history
  • Loading branch information
amarcruz committed Nov 14, 2015
1 parent 1dca662 commit 855ca73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion dist/compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,6 @@
var
re = _regEx('\\s' + name + MISC_ATTR, 'i'),
match = str.match(re)

str = match && match[1]
if (str)
return /^['"]/.test(str) ? str.slice(1, -1) : str
Expand Down
1 change: 0 additions & 1 deletion dist/riot.compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,6 @@ var compile = (function () {
var
re = _regEx('\\s' + name + MISC_ATTR, 'i'),
match = str.match(re)

str = match && match[1]
if (str)
return /^['"]/.test(str) ? str.slice(1, -1) : str
Expand Down
5 changes: 3 additions & 2 deletions test/specs/parsers/js/test.es6.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
riot.tag2('es6', '<h3>{test}</h3>', '', '', function(opts) {
var type = 'JavaScript';
this.test = 'This is ' + type;

var type = 'JavaScript';
this.test = 'This is ' + type;
}, '{ }');

0 comments on commit 855ca73

Please sign in to comment.