Skip to content

Commit

Permalink
chore: bump version 2.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
hsynlms committed May 23, 2021
1 parent 0535770 commit 40493d5
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion dist/zeynep.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* zeynepjs v2.1.3
* zeynepjs v2.1.4
* A light-weight multi-level jQuery side menu plugin.
* It's fully customizable and is compatible with modern browsers such as Google Chrome, Mozilla Firefox, Safari, Edge and Internet Explorer
* MIT License
Expand Down
10 changes: 1 addition & 9 deletions dist/zeynep.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,21 @@
/*!
* zeynepjs v2.1.3
* zeynepjs v2.1.4
* A light-weight multi-level jQuery side menu plugin.
* It's fully customizable and is compatible with modern browsers such as Google Chrome, Mozilla Firefox, Safari, Edge and Internet Explorer
* MIT License
* by Huseyin ELMAS
*/
(function ($, pluginName) {
// plugin defaults
var defaults = {
htmlClass: true
}

// plugin constructor
function Plugin (element, options) {
this.element = element
this.eventController = eventController

// merge defaults with options
this.options = $.extend({}, defaults, options)
this.options.initialized = false

// initialize the plugin
this.init()
}

Expand Down Expand Up @@ -155,7 +150,6 @@
}

var eventController = function (type, details) {
// validations
if (!this.options[type]) return
if (typeof this.options[type] !== 'function') throw Error('event handler must be a function: ' + type)

Expand All @@ -182,7 +176,6 @@
}

var eventBinder = function (name, handler) {
// validations
if (typeof name !== 'string') throw Error('event name is expected to be a string but got: ' + typeof name)
if (typeof handler !== 'function') throw Error('event handler is not a function for: ' + name)

Expand All @@ -196,7 +189,6 @@
// get a zeynepjs instance
var instance = getInstance($(this[0]), options)

// return the instance
return instance
}
})(window.jQuery, 'zeynep')
8 changes: 7 additions & 1 deletion dist/zeynep.min.css

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

2 changes: 1 addition & 1 deletion dist/zeynep.min.css.map

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

2 changes: 1 addition & 1 deletion dist/zeynep.min.js

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

Loading

0 comments on commit 40493d5

Please sign in to comment.