Skip to content

Commit

Permalink
Fix async in schemas.
Browse files Browse the repository at this point in the history
  • Loading branch information
petersirka committed Jan 31, 2018
1 parent f7c48b0 commit 37bcc81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion builders.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const DEFAULT_SCHEMA = 'default';
const SKIP = { $$schema: true, $$result: true, $$callback: true, $$async: true, $$index: true, $$repository: true, $$can: true, $$controller: true };
const REGEXP_CLEAN_EMAIL = /\s/g;
const REGEXP_CLEAN_PHONE = /\s|\.|-|\(|\)/g;
const REGEXP_NEWOPERATION = /^function(\s)?\([a-zA-Z0-9$]+\)|^function anonymous\(\$/;
const REGEXP_NEWOPERATION = /^(async\s)?function(\s)?\([a-zA-Z0-9$]+\)|^function anonymous\(\$/;
const hasOwnProperty = Object.prototype.hasOwnProperty;
const Qs = require('querystring');

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"name": "Tema Smirnov",
"email": "github.tema@smirnov.one"
}],
"version": "2.9.3-3",
"version": "2.9.3-4",
"homepage": "http://www.totaljs.com",
"bugs": {
"url": "https://github.com/totaljs/framework/issues",
Expand Down

0 comments on commit 37bcc81

Please sign in to comment.