Skip to content

Commit

Permalink
axcore 0.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasJang committed Mar 6, 2016
1 parent 086e061 commit a5ceae8
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ax5core",
"version": "0.9.3",
"version": "0.9.4",
"authors": [
"ThomasJ <[email protected]>"
],
Expand Down
26 changes: 25 additions & 1 deletion dist/ax5core.js
Original file line number Diff line number Diff line change
Expand Up @@ -1687,6 +1687,23 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
}
}

/**
* @method ax5.util.stopEvent
* @param {Event} e
* @example
* ```
* ax5.util.stopEvent(e);
* ```
*/
function stopEvent(e) {
// 이벤트 중지 구문
if (e.preventDefault) e.preventDefault();
if (e.stopPropagation) e.stopPropagation();
e.cancelBubble = true;
return false;
// 이벤트 중지 구문 끝
}

return {
alert: alert,
each: each,
Expand Down Expand Up @@ -1732,7 +1749,8 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
cssNumber: cssNumber,
css: css,
isDate: isDate,
isDateFormat: isDateFormat
isDateFormat: isDateFormat,
stopEvent: stopEvent
};
}();

Expand Down Expand Up @@ -1762,6 +1780,12 @@ ax5.info.errorMsg["single-uploader"] = {
ax5.info.errorMsg["ax5calendar"] = {
"401": "Can not find target element"
};

ax5.info.errorMsg["ax5formatter"] = {
"401": "Can not find target element",
"402": "Can not find boundID",
"501": "Can not find pattern"
};
// 필수 Ployfill 확장 구문
(function () {
'use strict';
Expand Down
Loading

0 comments on commit a5ceae8

Please sign in to comment.