Skip to content

Conversation

@mollifier
Copy link
Contributor

以下の2つのパターンでコメントが挿入されない不具合を修正しました。

  • 関数名に数字、_、$が含まれている
  • 関数式の形式

// 数字
function foo1() {
}

// _
function foo_bar() {
}

// $
function $foo() {
}

// 関数式の形式
var foo = function() {
};

Fix regex to match function name that contains number, _, or $.
Fix regex to match function expression.(e.g. match to 'var foo = function() {}')
@heavenshell
Copy link
Owner

ありがとうございます!
_ の時に上手く行かないのは認識してましたので、帰宅したらマージします!

@heavenshell heavenshell merged commit c57a6b4 into heavenshell:master Mar 13, 2013
@heavenshell
Copy link
Owner

マージしました。ありがとうございました!

@mollifier
Copy link
Contributor Author

マージありがとうございます! 反映されていることを確認しました!!

@mollifier mollifier deleted the fixRegex branch April 10, 2013 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants