Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

made the given regex only match the beginning of the string - duh

  • Loading branch information...
commit c2629827d9a254b79ba7c5d21ee0375571d49491 1 parent 6b379ec
@hojberg hojberg authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  riot.js
View
2  riot.js
@@ -269,7 +269,7 @@ Riot.Context.prototype = {
},
run: function() {
- if (this.name.match(/Given/)) {
+ if (this.name.match(/^Given/)) {
Riot.formatter.given(this.name);
}
else {
Please sign in to comment.
Something went wrong with that request. Please try again.