mirror of
https://github.com/Hopiu/annotate-extension.git
synced 2026-03-17 00:10:23 +00:00
Merge pull request #14 from Semigradsky/master
Fix bug 'Lost $ character'
This commit is contained in:
commit
74355df221
1 changed files with 1 additions and 1 deletions
2
main.js
2
main.js
|
|
@ -84,7 +84,7 @@ define(function (require, exports, module) {
|
|||
txtFrom = txtFrom.substr(0, txtFrom.indexOf("{"));
|
||||
|
||||
// Look for words
|
||||
var re = /\w+/g;
|
||||
var re = /[$,\w]+/g;
|
||||
var results = txtFrom.match(re);
|
||||
|
||||
// The first word found should be "function", and next ones parameters
|
||||
|
|
|
|||
Loading…
Reference in a new issue