Skip to content

Commit a5ceae8

Browse files
committed
axcore 0.9.4
1 parent 086e061 commit a5ceae8

File tree

4 files changed

+28
-4
lines changed

4 files changed

+28
-4
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ax5core",
3-
"version": "0.9.3",
3+
"version": "0.9.4",
44
"authors": [
55
"ThomasJ <[email protected]>"
66
],

dist/ax5core.js

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1687,6 +1687,23 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
16871687
}
16881688
}
16891689

1690+
/**
1691+
* @method ax5.util.stopEvent
1692+
* @param {Event} e
1693+
* @example
1694+
* ```
1695+
* ax5.util.stopEvent(e);
1696+
* ```
1697+
*/
1698+
function stopEvent(e) {
1699+
// 이벤트 중지 구문
1700+
if (e.preventDefault) e.preventDefault();
1701+
if (e.stopPropagation) e.stopPropagation();
1702+
e.cancelBubble = true;
1703+
return false;
1704+
// 이벤트 중지 구문 끝
1705+
}
1706+
16901707
return {
16911708
alert: alert,
16921709
each: each,
@@ -1732,7 +1749,8 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
17321749
cssNumber: cssNumber,
17331750
css: css,
17341751
isDate: isDate,
1735-
isDateFormat: isDateFormat
1752+
isDateFormat: isDateFormat,
1753+
stopEvent: stopEvent
17361754
};
17371755
}();
17381756

@@ -1762,6 +1780,12 @@ ax5.info.errorMsg["single-uploader"] = {
17621780
ax5.info.errorMsg["ax5calendar"] = {
17631781
"401": "Can not find target element"
17641782
};
1783+
1784+
ax5.info.errorMsg["ax5formatter"] = {
1785+
"401": "Can not find target element",
1786+
"402": "Can not find boundID",
1787+
"501": "Can not find pattern"
1788+
};
17651789
// 필수 Ployfill 확장 구문
17661790
(function () {
17671791
'use strict';

0 commit comments

Comments
 (0)