Skip to content

Commit

Permalink
Release v0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingSurge authored and amazingSurge committed Oct 10, 2016
1 parent 5e226bf commit 80b4cda
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery-wizard.js",
"version": "0.4.1",
"version": "0.4.2",
"description": "jquery wizard is a lightweight jquery plugin for creating step-by-step wizards",
"main": "dist/jquery-wizard.js",
"copyright": "amazingSurge",
Expand Down
2 changes: 1 addition & 1 deletion dist/css/wizard.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* jQuery wizard v0.4.1
* jQuery wizard v0.4.2
* https://github.com/amazingSurge/jquery-wizard
*
* Copyright (c) amazingSurge
Expand Down
2 changes: 1 addition & 1 deletion dist/css/wizard.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/jquery-wizard.es.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* jQuery wizard v0.4.1
* jQuery wizard v0.4.2
* https://github.com/amazingSurge/jquery-wizard
*
* Copyright (c) amazingSurge
Expand Down Expand Up @@ -660,7 +660,7 @@ class wizard {

const onFunction = `on${eventType}`;
if (typeof this.options[onFunction] === 'function') {
this.options[onFunction](...args);
this.options[onFunction].call(this, ...args);
}
}

Expand Down Expand Up @@ -841,7 +841,7 @@ $(document).on('click', '[data-wizard]', function (e) {
});

var info = {
version:'0.4.1'
version:'0.4.2'
};

const NAMESPACE = 'wizard';
Expand Down
12 changes: 6 additions & 6 deletions dist/jquery-wizard.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* jQuery wizard v0.4.1
* jQuery wizard v0.4.2
* https://github.com/amazingSurge/jquery-wizard
*
* Copyright (c) amazingSurge
Expand Down Expand Up @@ -52,7 +52,7 @@
:

function(obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj;
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
};

function _classCallCheck(instance, Constructor) {
Expand Down Expand Up @@ -667,7 +667,7 @@

var wizard = function() {
function wizard(element) {
var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

_classCallCheck(this, wizard);

Expand Down Expand Up @@ -839,9 +839,9 @@
var onFunction = 'on' + eventType;

if (typeof this.options[onFunction] === 'function') {
var _options;
var _options$onFunction;

(_options = this.options)[onFunction].apply(_options, args);
(_options$onFunction = this.options[onFunction]).call.apply(_options$onFunction, [this].concat(args));
}
}
}, {
Expand Down Expand Up @@ -1073,7 +1073,7 @@
);

var info = {
version: '0.4.1'
version: '0.4.2'
};

var NAMESPACE = 'wizard';
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery-wizard.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "jquery-wizard",
"title": "jQuery wizard",
"description": "jquery wizard is a lightweight jquery plugin for creating step-by-step wizards.",
"version": "0.4.1",
"version": "0.4.2",
"homepage": "https://github.com/amazingSurge/jquery-wizard",
"author": {
"name": "amazingSurge",
Expand Down
2 changes: 1 addition & 1 deletion src/info.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export default {
version:'0.4.1'
version:'0.4.2'
};
2 changes: 1 addition & 1 deletion src/wizard.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class wizard {

const onFunction = `on${eventType}`;
if (typeof this.options[onFunction] === 'function') {
this.options[onFunction](...args);
this.options[onFunction].call(this, ...args);
}
}

Expand Down

0 comments on commit 80b4cda

Please sign in to comment.