Skip to content

Commit e6f28db

Browse files
committed
Correct returnUrl to returnURL
1 parent a09c0a4 commit e6f28db

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/cmi5.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -1036,20 +1036,20 @@ var Cmi5;
10361036
/**
10371037
Retrieve the return URL as provided in LMS launch data
10381038
1039-
@method getReturnUrl
1039+
@method getReturnURL
10401040
@throws {Error} LMS launch data has not been loaded
10411041
@return {String|null} mastery score or null
10421042
*/
1043-
getReturnUrl: function () {
1044-
this.log("getReturnUrl");
1043+
getReturnURL: function () {
1044+
this.log("getReturnURL");
10451045
var result = null;
10461046

10471047
if (this._lmsLaunchData === null) {
1048-
throw new Error("Can't determine returnUrl until LMS LaunchData has been loaded");
1048+
throw new Error("Can't determine returnURL until LMS LaunchData has been loaded");
10491049
}
10501050

1051-
if (typeof this._lmsLaunchData.returnUrl !== "undefined") {
1052-
result = this._lmsLaunchData.returnUrl;
1051+
if (typeof this._lmsLaunchData.returnURL !== "undefined") {
1052+
result = this._lmsLaunchData.returnURL;
10531053
}
10541054

10551055
return result;

0 commit comments

Comments
 (0)