Skip to content

Commit

Permalink
fix: Removed const and backtick for browser compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Jan 14, 2020
1 parent ac84e89 commit 491a010
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions justgage.js
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@
* @param options {String|Object} options name and value
*/
JustGage.prototype.update = function (options, val) {
const obj = this;
var obj = this;

// options as an object of option/val values
if (options instanceof Object) {
Expand Down Expand Up @@ -1060,7 +1060,7 @@
break;

default:
console.log(`* justgage: "${option}" is not a supported update setting`);
console.log('* justgage: "${option}" is not a supported update setting');
}
}

Expand Down

0 comments on commit 491a010

Please sign in to comment.