diff --git a/bin/guide-automator-function.js b/bin/guide-automator-function.js index 099d637..70397b7 100644 --- a/bin/guide-automator-function.js +++ b/bin/guide-automator-function.js @@ -16,7 +16,7 @@ var __DEFAULT_IMG_WIDTH = '60%'; var __imgCount = 0; var __returnGuideAutomator = ""; var __DefaultContext = true; -var GLOBAL = {}; +var GDGLOBAL = {}; var options = { output: "", @@ -57,7 +57,8 @@ var sandbox = { quit: quit, getReturn: getReturn, console: console, - pageContext: pageContext + pageContext: pageContext, + GDGLOBAL:GDGLOBAL }; function setReturn(msg) { diff --git a/examples/example.md b/examples/example.md index fa4b991..aef6d31 100644 --- a/examples/example.md +++ b/examples/example.md @@ -6,7 +6,7 @@ ```javascript //Declare global variable -GLOBAL["SITE"] = 'github'; +GDGLOBAL["SITE"] = 'github'; //Access url get('https://github.com/'); @@ -38,7 +38,7 @@ To create new account, click on 'Sign Up' or fill in the form's fields. fillIn('#user_password','SuperSecretPassword'); //Print text on markdown file - console.print('_PS:_ If you agreeing with '+GLOBAL["SITE"]+ + console.print('_PS:_ If you agreeing with '+GDGLOBAL["SITE"]+ ' terms, you can click on "Create an account"'); takeScreenshotOf('#signup_button',false,true); diff --git a/package.json b/package.json index c6d0965..93cc4a8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "guide-automator", - "version": "2.2.1", + "version": "2.2.2", "description": "User guide automator", "preferGlobal": true, "bin": { @@ -19,17 +19,17 @@ "license": "ISC", "repository": { "type": "git", - "url": "https://github.com/Allan1/guide-automator.git" + "url": "https://github.com/aside-ufba/guide-automator.git" }, "bugs": { - "url": "https://github.com/Allan1/guide-automator/issues" + "url": "https://github.com/aside-ufba/guide-automator/issues" }, "keywords": [ "Automation", "Guide", "UX" ], - "homepage": "https://github.com/Allan1/guide-automator", + "homepage": "https://github.com/aside-ufba/guide-automator", "dependencies": { "commander": "^2.9.0", "express": "^4.14.0",