Skip to content

Commit

Permalink
Alter GLOBAL to GDGLOBAL
Browse files Browse the repository at this point in the history
  • Loading branch information
welbert committed Jan 22, 2017
1 parent d9be2be commit 8c08d66
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions bin/guide-automator-function.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var __DEFAULT_IMG_WIDTH = '60%';
var __imgCount = 0;
var __returnGuideAutomator = "";
var __DefaultContext = true;
var GLOBAL = {};
var GDGLOBAL = {};

var options = {
output: "",
Expand Down Expand Up @@ -57,7 +57,8 @@ var sandbox = {
quit: quit,
getReturn: getReturn,
console: console,
pageContext: pageContext
pageContext: pageContext,
GDGLOBAL:GDGLOBAL
};

function setReturn(msg) {
Expand Down
4 changes: 2 additions & 2 deletions examples/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

```javascript
//Declare global variable
GLOBAL["SITE"] = 'github';
GDGLOBAL["SITE"] = 'github';

//Access url
get('https://github.com/');
Expand Down Expand Up @@ -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);
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "guide-automator",
"version": "2.2.1",
"version": "2.2.2",
"description": "User guide automator",
"preferGlobal": true,
"bin": {
Expand All @@ -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",
Expand Down

0 comments on commit 8c08d66

Please sign in to comment.