Skip to content

Commit

Permalink
Updated CHANGELOG
Browse files Browse the repository at this point in the history
Bumped Version number to 0.5.0
Rebuilt assets
  • Loading branch information
tagliala committed Oct 26, 2013
1 parent 351277d commit b4dd6d7
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 119 deletions.
17 changes: 15 additions & 2 deletions build/kalendae.js
Expand Up @@ -2,7 +2,7 @@
* Kalendae, a framework agnostic javascript date picker *
* Copyright(c) 2013 Jarvis Badgley (chipersoft@gmail.com) *
* http://github.com/ChiperSoft/Kalendae *
* Version 0.4.2 *
* Version 0.5.0 *
********************************************************************/

(function (undefined) {
Expand Down Expand Up @@ -692,6 +692,18 @@ var util = Kalendae.util = {
}
},

fireEvent: function (elem, event) {
if (document.createEvent) {
var e = document.createEvent('HTMLEvents');
e.initEvent(event, false, true);
elem.dispatchEvent(e);
} else if (document.createEventObject) {
elem.fireEvent('on' + event) ;
} else if (typeof elem['on' + event] == 'function' ) {
elem['on' + event]();
}
},

hasClassName: function(elem, className) { //copied and modified from Prototype.js
if (!(elem = util.$(elem))) return false;
var eClassName = elem.className;
Expand Down Expand Up @@ -900,6 +912,7 @@ Kalendae.Input = function (targetElement, options) {
return;
}
$input.value = self.getSelected();
util.fireEvent($input, 'change');
});

};
Expand Down Expand Up @@ -972,7 +985,7 @@ Kalendae.Input.prototype = util.merge(Kalendae.prototype, {

util.removeEvent($input, 'keyup', this._events.inputKeyup);

$container.remove();
$container.remove();
}
});

Expand Down
39 changes: 0 additions & 39 deletions build/kalendae.min.js

This file was deleted.

17 changes: 15 additions & 2 deletions build/kalendae.standalone.js
Expand Up @@ -2,7 +2,7 @@
* Kalendae, a framework agnostic javascript date picker *
* Copyright(c) 2013 Jarvis Badgley (chipersoft@gmail.com) *
* http://github.com/ChiperSoft/Kalendae *
* Version 0.4.2 *
* Version 0.5.0 *
********************************************************************/

(function (undefined) {
Expand Down Expand Up @@ -692,6 +692,18 @@ var util = Kalendae.util = {
}
},

fireEvent: function (elem, event) {
if (document.createEvent) {
var e = document.createEvent('HTMLEvents');
e.initEvent(event, false, true);
elem.dispatchEvent(e);
} else if (document.createEventObject) {
elem.fireEvent('on' + event) ;
} else if (typeof elem['on' + event] == 'function' ) {
elem['on' + event]();
}
},

hasClassName: function(elem, className) { //copied and modified from Prototype.js
if (!(elem = util.$(elem))) return false;
var eClassName = elem.className;
Expand Down Expand Up @@ -900,6 +912,7 @@ Kalendae.Input = function (targetElement, options) {
return;
}
$input.value = self.getSelected();
util.fireEvent($input, 'change');
});

};
Expand Down Expand Up @@ -972,7 +985,7 @@ Kalendae.Input.prototype = util.merge(Kalendae.prototype, {

util.removeEvent($input, 'keyup', this._events.inputKeyup);

$container.remove();
$container.remove();
}
});

Expand Down

0 comments on commit b4dd6d7

Please sign in to comment.