js2ts: vendor, evergreen browsers
- IE11 제외(webpack) - vendor에 bootstrap, jquery 번들 - common.js에서 번들된 jquery, bootstrap 초기화 - 기본 printJS 코드를 common_path, vendors, common으로 고정
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
import { activeFlip, escapeHtml, isInt, mb_strwidth, mb_strimwidth, convertDictById, convertSet, hexToRgb, isBrightColor, convColorValue, numberWithCommas, linkifyStrWithOpt, TemplateEngine, getIconPath, combineObject, combineArray, activeFlipItem, errUnknown, errUnknownToast, quickReject, nl2br, getNpcColor, initTooltip } from "./common_legacy";
|
||||
import jQuery from "jquery";
|
||||
|
||||
|
||||
|
||||
jQuery(function ($) {
|
||||
initTooltip();
|
||||
@@ -14,6 +17,8 @@ jQuery(function ($) {
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
$: typeof jQuery;
|
||||
jQuery: typeof jQuery;
|
||||
/** @deprecated Module 사용할 것 */
|
||||
escapeHtml: typeof escapeHtml;
|
||||
/** @deprecated Module 사용할 것 */
|
||||
@@ -63,6 +68,9 @@ declare global {
|
||||
}
|
||||
}
|
||||
|
||||
window.$ = jQuery;
|
||||
window.jQuery = jQuery;
|
||||
|
||||
window.escapeHtml = escapeHtml;
|
||||
window.isInt = isInt;
|
||||
window.mb_strwidth = mb_strwidth;
|
||||
|
||||
Reference in New Issue
Block a user