Fix bug 'Lost $ character'

This commit is contained in:
Semigradsky 2014-01-09 12:15:59 +03:00
parent 027b33acb9
commit 899a9d9299

View file

@ -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