Fixed reference to origin

This commit is contained in:
Wade Alcorn
2014-04-24 19:36:58 +10:00
parent 8dfa674134
commit 94b636c6fd
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ beef.net.cors = {
}, },
/** /**
* Make a cross-domain request using CORS * Make a cross-origin request using CORS
* *
* @param method {String} HTTP verb ('GET', 'POST', 'DELETE', etc.) * @param method {String} HTTP verb ('GET', 'POST', 'DELETE', etc.)
* @param url {String} url * @param url {String} url

View File

@@ -6,7 +6,7 @@
/* /*
Sometimes there are timing issues and looks like beef_init Sometimes there are timing issues and looks like beef_init
is not called at all (always in cross-domain situations, is not called at all (always in cross-origin situations,
for example calling the hook with jquery getScript, for example calling the hook with jquery getScript,
or sometimes with event handler injections). or sometimes with event handler injections).

View File

@@ -20,7 +20,7 @@ beef.websocket = {
/** /**
* Initialize the WebSocket client object. * Initialize the WebSocket client object.
* Note: use WebSocketSecure only if the hooked domain is under https. * Note: use WebSocketSecure only if the hooked origin is under https.
* Mixed-content in WS is quite different from a non-WS context. * Mixed-content in WS is quite different from a non-WS context.
*/ */
init:function () { init:function () {