{"action":"opened","issue":{"url":"https://api.github.com/repos/alexindigo/node-global-define/issues/3","labels_url":"https://api.github.com/repos/alexindigo/node-global-define/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/alexindigo/node-global-define/issues/3/comments","events_url":"https://api.github.com/repos/alexindigo/node-global-define/issues/3/events","html_url":"https://github.com/alexindigo/node-global-define/issues/3","id":104942327,"number":3,"title":"Upgrading from 1.2 to 2.0.1 gives `globalDefine...has no method 'getCallerModule'`","user":{"login":"joetuson","id":762140,"avatar_url":"https://avatars.githubusercontent.com/u/762140?v=3","gravatar_id":"","url":"https://api.github.com/users/joetuson","html_url":"https://github.com/joetuson","followers_url":"https://api.github.com/users/joetuson/followers","following_url":"https://api.github.com/users/joetuson/following{/other_user}","gists_url":"https://api.github.com/users/joetuson/gists{/gist_id}","starred_url":"https://api.github.com/users/joetuson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joetuson/subscriptions","organizations_url":"https://api.github.com/users/joetuson/orgs","repos_url":"https://api.github.com/users/joetuson/repos","events_url":"https://api.github.com/users/joetuson/events{/privacy}","received_events_url":"https://api.github.com/users/joetuson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-04T18:22:03Z","updated_at":"2015-09-04T18:22:03Z","closed_at":null,"body":"I'm getting this error after upgrading from 1.2 to 2.0.1. Any ideas why?\r\n\r\n```\r\n    return globalDefine.amdefineWorkaround(globalDefine.getCallerModule());\r\n                                                        ^\r\nTypeError: Object function wrapper(id, deps, initializer) {\r\n    // init module\r\n    define(id, deps, initializer);\r\n\r\n    // if module provides id\r\n    // force it to be executed anyway\r\n    if (typeof id == 'string') {\r\n      requiredModule.exports = define.require(id);\r\n    }\r\n  } has no method 'getCallerModule'\r\n   ....\r\n```"}}