Skip to content

Commit cf6cf1a

Browse files
committed
added code method
1 parent 87a6f76 commit cf6cf1a

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

dist/breinify-unsubscribe.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@
7070

7171
var Unsubscribe = {
7272

73+
code: function() {
74+
return _private.getCode();
75+
},
76+
7377
validate: function (callback, code) {
7478
var token = _private.getValidationToken();
7579
code = _private.getCode(code);

dist/breinify-unsubscribe.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/plugins/Unsubscribe.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@
7070

7171
var Unsubscribe = {
7272

73+
code: function() {
74+
return _private.getCode();
75+
},
76+
7377
validate: function (callback, code) {
7478
var token = _private.getValidationToken();
7579
code = _private.getCode(code);

0 commit comments

Comments
 (0)