更换 alert 为 bootstrap 的 modal

This commit is contained in:
virusdefender
2015-08-01 22:23:18 +08:00
parent 26dab5bd91
commit 999d03b8f7
6 changed files with 38 additions and 7 deletions

View File

@@ -13,6 +13,8 @@ require.config({
code_mirror: "../utils/code_mirror",
login: "../app/account/login",
oj: "../app/oj",
"bs_alert": "../utils/bs_alert",
//formValidation 不要在代码中单独使用而是使用和修改utils/validation
base: "formValidation/base",
@@ -33,7 +35,13 @@ require.config({
//code mirroe 代码编辑器
_code_mirror: "codeMirror/codemirror",
code_mirror_clang: "codeMirror/language/clike"
code_mirror_clang: "codeMirror/language/clike",
//bootstrap
bootstrap: "bootstrap/bootstrap"
},
shim: {
"bootstrap": {"deps": ['jquery']}
}
});