File tree Expand file tree Collapse file tree 4 files changed +28
-4
lines changed Expand file tree Collapse file tree 4 files changed +28
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ax5core" ,
3
- "version" : " 0.9.3 " ,
3
+ "version" : " 0.9.4 " ,
4
4
"authors" : [
5
5
6
6
],
Original file line number Diff line number Diff line change @@ -1687,6 +1687,23 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
1687
1687
}
1688
1688
}
1689
1689
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
+
1690
1707
return {
1691
1708
alert : alert ,
1692
1709
each : each ,
@@ -1732,7 +1749,8 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
1732
1749
cssNumber : cssNumber ,
1733
1750
css : css ,
1734
1751
isDate : isDate ,
1735
- isDateFormat : isDateFormat
1752
+ isDateFormat : isDateFormat ,
1753
+ stopEvent : stopEvent
1736
1754
} ;
1737
1755
} ( ) ;
1738
1756
@@ -1762,6 +1780,12 @@ ax5.info.errorMsg["single-uploader"] = {
1762
1780
ax5 . info . errorMsg [ "ax5calendar" ] = {
1763
1781
"401" : "Can not find target element"
1764
1782
} ;
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
+ } ;
1765
1789
// 필수 Ployfill 확장 구문
1766
1790
( function ( ) {
1767
1791
'use strict' ;
You can’t perform that action at this time.
0 commit comments