Skip to content

Commit

Permalink
Add processScript method to the API, update to v9.1.0 (#613)
Browse files Browse the repository at this point in the history
  • Loading branch information
churkin authored and inikulin committed Jun 2, 2016
1 parent 0a65b46 commit 3745ca1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "testcafe-hammerhead",
"description": "A powerful web-proxy used as a core for the TestCafe testing framework (https://github.com/DevExpress/testcafe).",
"version": "9.0.3",
"version": "9.1.0",
"homepage": "https://github.com/DevExpress/testcafe-hammerhead",
"bugs": {
"url": "https://github.com/DevExpress/testcafe-hammerhead/issues"
Expand Down
3 changes: 3 additions & 0 deletions src/client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import * as positionUtils from './utils/position';
import * as styleUtils from './utils/style';
import trim from '../utils/string-trim';
import { getProxyUrl } from './utils/url';
import { processScript } from '../processing/script';
import isJQueryObj from './utils/is-jquery-object';
import extend from './utils/extend';

Expand Down Expand Up @@ -48,6 +49,8 @@ class Hammerhead {
this.doUpload = (input, filePaths) => this.sandbox.upload.doUpload(input, filePaths);
this.createNativeXHR = XhrSandbox.createNativeXHR;

this.processScript = processScript;

// NOTE: We should provide a function to retrieve modules, because hammerhead will be bundled into a single
// file and we will not have access to the internal modules by default.
/*eslint-disable no-undef*/
Expand Down

0 comments on commit 3745ca1

Please sign in to comment.